<?php include "header.php"; ?>

<h2>Add New Post</h2>
<br />


<div class="row">
	<div class="col-md-8">
				
				<form role="form" class="form-horizontal">
	
					<div class="form-group">
						
						<div class="col-sm-12">
							<input type="text" class="form-control" id="field-1" placeholder="Post Title">
						</div>
					</div>
					
					<div class="form-group">
					<div class="col-sm-12">
						<textarea class="form-control wysihtml5" data-stylesheet-url="http://demo.neontheme.com/assets/css/wysihtml5-color.css" name="sample_wysiwyg" id="sample_wysiwyg"></textarea>
					</div>
					</div>
					
					<div class="form-group">
						<div class="col-sm-5">
							<button type="submit" class="btn btn-info">Publish</button>
							<button type="submit" class="btn btn-danger">Clear</button>
						</div>
					</div>
				</form>
				
	
	</div>

	<div class="col-md-4">
		<div class="panel panel-primary" data-collapsed="0">
			<div class="panel-heading">
				<div class="panel-title">
					Categories
				</div>
				
				<div class="panel-options">
					<a href="#" data-rel="collapse"><i class="entypo-down-open"></i></a>
					<a href="#" data-rel="close"><i class="entypo-cancel"></i></a>
				</div>
			</div>
			<div class="panel-body">
				<div class="form-group">						
						<div class="col-sm-12">
							
							<select name="test" class="select2" data-allow-clear="true" data-placeholder="Select Categories">
								<option></option>
								<optgroup label="Parent Categories">
									<option value="1">Technology</option>
									<option value="2">Science</option>
									<option value="3">Information</option>
									<option value="4">Others</option>
								</optgroup>
							</select>
							
						</div>
					</div>
			</div>
		</div>
	</div>
	<div class="col-md-4">
		<div class="panel panel-primary" data-collapsed="0">
			<div class="panel-heading">
				<div class="panel-title">
					Add Media
				</div>
				
				<div class="panel-options">
					<a href="#" data-rel="collapse"><i class="entypo-down-open"></i></a>
					<a href="#" data-rel="close"><i class="entypo-cancel"></i></a>
				</div>
			</div>
			<div class="panel-body">
				<div class="form-group">						
						<div class="col-sm-12">
							<input type="file" class="form-control" id="field-file" placeholder="Placeholder">
						</div>
				</div>
			</div>
		</div>
	</div>
</div>

<?php include "footer.php"; ?>